import request from '@/utils/request'

// 查询学校列表列表
export function banksList(query) {
    return request({
        url: '/system/banks/list',
        method: 'get',
        params: query
    })
}

export function banksDetail(query) {
    return request({
        url: '/system/banks/' + query,
        method: 'get',
    })
}

export function banksAdd(data) {
    return request({
        url: '/system/banks/add',
        method: 'post',
        data: data
    })
}
export function banksUpdate(data) {
    return request({
        url: '/system/banks/update',
        method: 'post',
        data: data
    })
}